﻿using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileSystem
{
    public static class Container
    {
        #region private fields

        private static UnityContainer container;

        #endregion

        public static void Init()
        {
            container = new UnityContainer();
            container.LoadConfiguration("container");
            ServiceLocator.SetCurrentServiceLocator(new FileSystemServiceLocator(container));
        }
    }
}
